//
//  UIBarButtonItem+XYAdd.h
//  PeiJue
//
//  Created by lxy on 2017/9/27.
//  Copyright © 2017年 lixiya. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@interface UIBarButtonItem (XYAdd)

+ (UIBarButtonItem *)itemWithImageName:(NSString *)imageName target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)itemWithImageName:(NSString *)imageName highlightImageName:(nullable NSString *)highlightImageName target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)itemWithImageName:(NSString *)imageName highlightImageName:(nullable NSString *)highlightImageName selectedImageName:(nullable NSString *)selectedImageName target:(id)target action:(SEL)action;

@end
NS_ASSUME_NONNULL_END
